Platform Explorer / Nuxeo Platform 2021

Component org.nuxeo.ecm.core.schedulers

Resolution Order

94
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.core.schedulers">

  <extension target="org.nuxeo.ecm.platform.scheduler.core.service.SchedulerRegistryService"
    point="schedule">

    <schedule id="aceScheduler">
      <eventId>updateACEStatus</eventId>
      <!-- every 5 mins -->
      <cronExpression>0 0/5 * * * ?</cronExpression>
    </schedule>

  </extension>

  <extension target="org.nuxeo.ecm.core.event.EventServiceComponent"
    point="listener">
    <listener name="updateACEStatus" async="true" class="org.nuxeo.ecm.core.security.UpdateACEStatusListener">
      <event>updateACEStatus</event>
    </listener>
  </extension>

  <extension target="org.nuxeo.ecm.core.work.service" point="queues">
    <queue id="updateACEStatus">
      <maxThreads>1</maxThreads>
      <category>updateACEStatus</category>
    </queue>
  </extension>

</component>